package com.upcode.weighing.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.upcode.weighing.base.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

//操作日志
@Data
@EqualsAndHashCode(callSuper=false)
public class SysLogs extends BaseEntity {
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;//id
    private String createUser;//操作用户
    private String loginName;//账号
    private String ip;//ip
    private Integer type;//类型1:查询 2:新增3:删除4:修改
    private String desc;//详情
    private String exceptionLog;//异常记录
    private LocalDateTime createTime;//创建时间


}
